﻿using System;
using System.Windows.Forms;
using System.Threading;

namespace _3D
{
    public partial class FormLogo : Form
    {
        private AutoResetEvent _EventLogo;

        public FormLogo(AutoResetEvent a)
        {
            _EventLogo = a;
            InitializeComponent();
        }

        private void FormLogo_Shown(object sender, EventArgs e)
        {
            try
            {
                _EventLogo.WaitOne();
                Close();
            }
            catch (ThreadAbortException ex)
            {
                Close();
            }
        }
    }
}
